home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01a.txt / 000062_icon-group-sender _Thu Jun 15 12:44:20 2000.msg < prev    next >
Internet Message Format  |  2002-01-03  |  923b

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id MAA29861
  4.     for icon-group-addresses; Thu, 15 Jun 2000 12:43:10 -0700 (MST)
  5. Message-Id: <200006151943.MAA29861@baskerville.CS.Arizona.EDU>
  6. From: Kostas Oikonomou <oikonomou@att.com>
  7. Date: Thu, 15 Jun 2000 14:47:42 -0400 (EDT)
  8. To: icon-group@optima.CS.Arizona.EDU
  9. Subject: Comparisons of reals
  10. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  11. Status: RO
  12. Content-Length: 412
  13.  
  14.  
  15. I'm trying to write Icon procedures that implement the approximate <, >, and =
  16. relations for real numbers that are in Knuth Vol. 2, section 4.2.2, p. 218 in
  17. the 2nd ed.
  18.  
  19. It seems to me that to write these efficiently one needs access to the floating
  20. point representation of reals, i.e. fractional part and exponent.
  21.  
  22. Is that possible?  Even better, has anybody already written something like this?
  23.  
  24.                 Kostas
  25.